<%@ Page Language="C#" MasterPageFile="~/MainMaster.master" AutoEventWireup="true" CodeFile="Resources.aspx.cs" Inherits="LinkToUs" Title="Resources" %>

<%@ Register Assembly="Manager" Namespace="PagingControl" TagPrefix="cc1" %>
<%@ Register Src="~/includes/LinkToUs.ascx" TagName="LinkToUs" TagPrefix="uc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="MainTable" runat="Server">
    <div class="heading_inner">
        <div class="heading_topic">
            <h2>Resources</h2>

        </div>
    </div>

    <div class="cl"></div>

    <!--**Content 1 Starts Here**-->
   <div style="width: 94%; padding: 3%">
        <div style="background-color: #f4f4f4; width: 94%; padding: 3%">

            <table  border="0" cellpadding="0" cellspacing="0" style="text-align: justify; line-height: 20px;">


                <tr>


                    <td>
                        <asp:GridView ID="grdResource" runat="server" DataKeyNames="sno" AutoGenerateColumns="False" BorderWidth="0px" CellPadding="5" GridLines="Horizontal" ShowHeader="False" Width="100%" OnPageIndexChanging="grdResource_PageIndexChanging" PageSize="50" OnRowDataBound="grdResource_RowDataBound" OnRowCommand="grdResource_RowCommand">
                            <Columns>
                                <asp:TemplateField>
                                    <ItemTemplate>
                                        <a href='<%# Eval("URL") %>' id="lnkTitle"><b><%# Eval("title") %></b></a><br />
                                        <asp:Label ID="lblDescription" runat="server" Text='<%# Eval("Description") %>'></asp:Label>
                                    </ItemTemplate>
                                </asp:TemplateField>
                            </Columns>
                            <EmptyDataTemplate>
                                &nbsp;<br />
                            </EmptyDataTemplate>
                        </asp:GridView>
                        <cc1:Paging ID="pagingResources" runat="server" BindToControl="grdResource" OrderBy="sno"
                            StoredProcedureName="get_Resources" ResultsFormat="Displaying Resources {0}-{1} (of {2})" BackNextStyleClass="linkblue_12" ControlCssClass="normalgrey_12" PageNumbersCssClass="linkblue_12" PagingMode="QueryString" EnableTheming="True" CombinedPage="True" PageNumbersDisplay="Numbers" ResultsLocation="Bottom" ShowFirst="False" ShowLast="False" PageSize="50" />
                    </td>

                </tr>
            </table>
        </div>
    </div>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="InnerRight" runat="Server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="FeaturedBox" runat="Server">
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="ScriptContent" runat="Server">
</asp:Content>

